package M_C;

public class M_md_b extends Operator{
	public MsiC execute(MsiC cc) {
		MsiC c=cc;
		c.setMd(c.getMdC(),c.getMdM()-1);
		c.setB(c.getBC(), c.getBM()+1);
		return c;
	}
	public boolean valabil(MsiC c){
		boolean r=false;
		if((c.getBM()<=1 && c.getBC()<=1)&& c.getMdM()>0)
			r=true;
		return r;
	}
}
